Variable Recurring Payments APIs

(0 reviews)

Sandbox Mocking Information – Error Scenarios

To invoke the APIs, a developer needs to download Test Data by registering and logging into the BOI Developer Portal. This Test Data will provide the required PSU/Customer Account details required to invoke the APIs.

This sections provides Sandbox Mocking Information related to API requests and responses.

1.1. Variable Recurring Payment Consents
ValidationsDescription/Response
AmountValidationIf Amount is of the form 100xx consent status is Rejected
POST API ValidationIf Amount is of the form 800xx, API will return 500, Internal Server Error
GET API ValidationIf Amount is of the form 700xx, Consent will be created but on fetching status user will get Internal Server Error
SecondaryIdentification ValidationIf SecondaryIdentification of CreditorAccount provided in the request is of the form 333xx, API will return 400 Bad Request with UK.OBIE.Unsupported.AccountSecondaryIdentifier error
1.2. Variable Recurring Payment – Confirmation of Funds API
ValidationsDescription/Response
AmountValidationIf Amount is of the form 200xx then fundsAvailable flag in response is false else true
AdditionalValidationIf Amount is of the form 600xx API returns 500, Internal Server Error
1.3. Variable Recurring Payments API
ValidationsDescription/Response
AmountValidationIf Amount is of the form 200xx, payment status is Rejected
POST API ValidationIf Amount is of the form 600xx, API will return 500, Internal Server Error
GET API ValidationIf Amount is of the form 700xx, payments resource will be created but on fetching status user will get Internal Server Error

Reviews